#ifndef EDGE_TREE_ITEM_H
#define EDGE_TREE_ITEM_H

#include "src/edge.h"
#include "treeItem.h"
#include <QMainWindow>

class EdgeTreeItem : public TreeItem {
    public:
        EdgeTreeItem(QTreeWidgetItem * = 0, Edge * = 0);
        ~EdgeTreeItem();

        unsigned int getType(){return EDGE;};

        Edge *getEdge();

        void select(bool);

    private:
        Edge *edge;
};

#endif
